export namespace dialog {
    export const create = () => {}

    function addNode(node: VNode, parent: HTMLElement = document.body) {
        const fragment = document.createDocumentFragment();
        // @ts-ignore
        render(node, fragment)
        const e = fragment.childNodes[0] as HTMLElement;
        parent.appendChild(fragment)
        return e;
    }


    // open


    // close


    // 
}